// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D11Texture2D.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D11;

Texture2dDescription^ Texture2D::GetDescription()
{
    Texture2dDescription^ desc = gcnew Texture2dDescription();
    GetInterface<ID3D11Texture2D>()->GetDesc(desc->nativeObject.Get());

    return desc;
}

